package com.ruoyi.service.impl;

import java.util.List;

import com.ruoyi.domain.BasisDevicestatus;
import com.ruoyi.mapper.BasisDevicestatusMapper;
import com.ruoyi.service.IBasisDevicestatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
@Service
public class BasisDevicestatusServiceImpl implements IBasisDevicestatusService
{
    @Autowired
    private BasisDevicestatusMapper basisDevicestatusMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public BasisDevicestatus selectBasisDevicestatusById(Long id)
    {
        return basisDevicestatusMapper.selectBasisDevicestatusById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param basisDevicestatus 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<BasisDevicestatus> selectBasisDevicestatusList(BasisDevicestatus basisDevicestatus)
    {
        return basisDevicestatusMapper.selectBasisDevicestatusList(basisDevicestatus);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param basisDevicestatus 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertBasisDevicestatus(BasisDevicestatus basisDevicestatus)
    {
        return basisDevicestatusMapper.insertBasisDevicestatus(basisDevicestatus);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param basisDevicestatus 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateBasisDevicestatus(BasisDevicestatus basisDevicestatus)
    {
        return basisDevicestatusMapper.updateBasisDevicestatus(basisDevicestatus);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteBasisDevicestatusByIds(Long[] ids)
    {
        return basisDevicestatusMapper.deleteBasisDevicestatusByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteBasisDevicestatusById(Long id)
    {
        return basisDevicestatusMapper.deleteBasisDevicestatusById(id);
    }
}
